<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>电影列表</title>
  <style>
    label{
      display: block;
      margin:10px;
    }
    ul{
      divst-style: none;
      margin: 50px auto;
      width:1000px;
      display:flex;
      flex-wrap: wrap;
    }
    div{
      width:27%;
      margin:20px 15px;
      padding:10px;
      box-shadow:  0 0 4px #999;
      border-radius: 10px;
    }
    div .div{
      width:100%;
      height:240px;
    }
    .div img{
      width:100%;
      height:240px;
    }
    div h2{
      font-size: 20px;
      width:180px;
      color:darkgreen;
      overflow: hidden;
      text-overflow: eldivpsis;
      white-space: nowrap;
    }
    p{
      color:#999;
      font-size: 14px;
    }
    a{
      text-decoration: none;
    }
  </style>
</head>
<body>
  <%- include common %>
  <%- include('head', {title:result.title } )%>
  <button onclick="history.go(-1)">返回</button>
  <div>
    <p class="div">
      <img src="<%- result.images.large.replace(/img7/,'img3')   %>" alt="">
     </p>
     <h2><%- result.title %></h2>
     <p>年份: <%- result.year%> </p>
     <p>评分: <%- result.rating.average %></p>
     <p>分类: <%- result.genres %></p>
     <p>导演: <%- result.directors[0].name %></p>
  </div>
   <%-  include foot %>
</body>
</html>